﻿#include "dragwidget.h"
DragWidget::DragWidget(QWidget *parent)
    : QWidget{parent}
{

}
void DragWidget::mouseDoubleClickEvent(QMouseEvent* event){
    emit changShow();
}
void DragWidget::paintEvent(QPaintEvent *event){
    QStyleOption opt;
    opt.init(this);
    QPainter p(this);
    style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
}
